package com.mgg.message;

import com.mgg.common.messaging.SmsSendProcessor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan(basePackages = {"com.mgg"})
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
@EnableBinding({SmsSendProcessor.class})
public class MessageServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(MessageServerApplication.class, args);
	}
}
